import instance from "@/utils/request";

export const getCartList = (data) => instance.post("/api/cart/list", data)
export const doAddCart = (data) => instance.post("api/cart/add", data)
export const delCart = (data) => instance.post("api/cart/remove", data)
export const isSelect = (data) => instance.post("api/cart/selectone", data)
export const allSelect = (data) => instance.post('/api/cart/selectall', data)
export const updateNum=(data)=>instance.post('api/cart/updatenum',data)
